package com.byedu.mapper.focus;

import com.byedu.domain.focus.FocusProduceDO;
import com.byedu.domain.focus.FocusProjectDO;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by jason on 2017/5/14.
 */
@Repository
public interface FocusProjectMapper {

    /**
     * @description 更新
     * @author chenxigui
     * @date  2017-05-14
     * @param focusProjectDO
     * @return
     */
    Integer updateFocusProjectDObyId(FocusProjectDO focusProjectDO);

    List<FocusProjectDO> getFocusProjectDOList();

    Integer addFocusProjectDO(FocusProjectDO focusProjectDO);

    Integer delFocusProjectDO(FocusProjectDO focusProjectDO);


    FocusProjectDO getFocusProjectbyId(String id);

    List<FocusProjectDO> getFocusProjectDOListByFocusProjectDO(FocusProjectDO focusProjectDO);
    List<FocusProjectDO> getFocusProjectDOKPI(FocusProjectDO focusProjectDO);

    List<FocusProjectDO> getFocusProjectProcessBOSSDOListByFocusProjectDO(FocusProjectDO focusProjectDO);
    List<FocusProjectDO> getFocusProjectUnfinishedBOSSDOListByFocusProjectDO(FocusProjectDO focusProjectDO);
    List<FocusProjectDO> getFocusProjectUnfinishedAEDOListByFocusProjectDO(FocusProjectDO focusProjectDO);
    List<FocusProjectDO> getFocusProjectUnfinishedACCOUNTDOListByFocusProjectDO(FocusProjectDO focusProjectDO);
    List<FocusProjectDO> getFocusProjectUnfinishedCASHIERDOListByFocusProjectDO(FocusProjectDO focusProjectDO);
    List<FocusProjectDO> getFocusProjectHasfinishedDOListByFocusProjectDO(FocusProjectDO focusProjectDO);
    List<FocusProjectDO> getWorkerFocusProjectByFocusProjectDO(FocusProjectDO focusProjectDO);

}
